home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10339 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  844 b 

  1. Path: news.cyberstore.ca!ejw
  2. From: ejw@news.cyberstore.ca ()
  3. Newsgroups: comp.lang.c
  4. Subject: Converting Strings to Upper Case
  5. Date: 17 Mar 1996 01:53:10 GMT
  6. Organization: Cyberstore Systems Inc.
  7. Message-ID: <4ifra6$52i@scipio.cyberstore.ca>
  8. NNTP-Posting-Host: yvr.cyberstore.ca
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Hi,
  12.  
  13. I need to write a function to convert a string containg upper or lower case
  14. characters to the opposite case.  Something like:
  15.  
  16.   void libConvertUpperCase(char *str);    and
  17.   void libConvertLowerCase(char *str);
  18.  
  19. and the string would be modified.  I just can't seem to wrap my head around 
  20. the best way that I know is better than writing a for loop to check each 
  21. element in the array?
  22.  
  23. I apologize if this in the FAQ;  I am still going thorugh it.  Any help 
  24. would be greatly appreciated.
  25.  
  26. Eric Woodward.
  27. ejw@cyberstore.ca.
  28.  
  29.